{extend name="personcentor/information" /}
{block name="main"}
<div class="col-main">
    <div class="main-wrap">

        <!--标题 -->
        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">我的积分<span style="margin-left:50px;font-size:40px;color:red">{$sum}</span></div>
        </div>
        <hr/>

        <div class="am-tabs am-tabs-d2 am-margin" data-am-tabs>

            <ul class="am-avg-sm-5 am-tabs-nav am-nav am-nav-tabs">
                <li class="am-active"><a href="#tab1">积分记录</a></li>
            </ul>
        </div>
        <table class="table">
            <tr class="tr">
                <th>商品信息</th>
                <th>积分详情</th>
                <th>获取时间</th>
            </tr>
       {volist name="jf" id="vo"}
            <tr>
                <td>
                    <div style="font-size:10;color:#aaa">{$vo['house']['house_name']}</div>
                    <div><img src="/uploads/housepic/{:str_replace('\','/',$vo['house']['house_pic'])}" alt="" style="width:100px;height:50px"></div>
                    <div style="font-size:10;color:#aaa">订单编号：{$vo['order']['order_no']}</div>
                    <div style="font-size:10;color:#aaa">预定人：{$vo['order']['input_person_name']}</div>
                    <div style="font-size:10;color:#aaa">地址：{$vo['house']['house_address']}</div>
                </td>
                <td>
                    <div style="font-size:30px;color:red">+{$vo['jifen']}</div>
                </td>
                <td>
                    <div style="text-align:center">{:date('Y-m-d h-i-s',$vo['jf_time'])}</div>
                </td>
            </tr>
        {/volist}
        </table>
    </div>
</div>
{/block}